package com.amado.springboot.springbootcms.entity;

import io.swagger.annotations.ApiModelProperty;
import java.util.Date;

/**
 * @author wangyulong-910
 * @date 2019年7月28日下午11:39:31
 */
public class CmsStudent {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "id")//不能为空
    private Integer id;

    @ApiModelProperty(value = "姓名")//不能为空
    private String name;

    @ApiModelProperty(value = "身份证号码")//不能为空
    private String idNumber;

    @ApiModelProperty(value = "性别")//不能为空
    private String sex;

    @ApiModelProperty(value = "年龄")//不能为空
    private String age;

    @ApiModelProperty(value = "手机")//不能为空
    private String phone;

    @ApiModelProperty(value = "住址")//可以为空
    private String address;

    @ApiModelProperty(value = "户籍")//可以为空
    private String censusRegister;

    @ApiModelProperty(value = "报考车型")//可以为空
    private String candiCar;

    @ApiModelProperty(value = "学费")//可以为空
    private String learnSalary;

    @ApiModelProperty(value = "报名时间")//可以为空
    private Date applyTime;

    @ApiModelProperty(value = "创建人")//不能为空
    private String createName;

    @ApiModelProperty(value = "删除标识")//不能为空
    private String deleteLogo;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getIdNumber() {
        return idNumber;
    }

    public void setIdNumber(String idNumber) {
        this.idNumber = idNumber;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getAge() {
        return age;
    }

    public void setAge(String age) {
        this.age = age;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getCensusRegister() {
        return censusRegister;
    }

    public void setCensusRegister(String censusRegister) {
        this.censusRegister = censusRegister;
    }

    public String getCandiCar() {
        return candiCar;
    }

    public void setCandiCar(String candiCar) {
        this.candiCar = candiCar;
    }

    public String getLearnSalary() {
        return learnSalary;
    }

    public void setLearnSalary(String learnSalary) {
        this.learnSalary = learnSalary;
    }

    public Date getApplyTime() {
        return applyTime;
    }

    public void setApplyTime(Date applyTime) {
        this.applyTime = applyTime;
    }

    public String getCreateName() {
        return createName;
    }

    public void setCreateName(String createName) {
        this.createName = createName;
    }

    public String getDeleteLogo() {
        return deleteLogo;
    }

    public void setDeleteLogo(String deleteLogo) {
        this.deleteLogo = deleteLogo;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append(", id=").append(id);
        sb.append(", name=").append(name);
        sb.append(", idNumber=").append(idNumber);
        sb.append(", sex=").append(sex);
        sb.append(", age=").append(age);
        sb.append(", phone=").append(phone);
        sb.append(", address=").append(address);
        sb.append(", censusRegister=").append(censusRegister);
        sb.append(", candiCar=").append(candiCar);
        sb.append(", learnSalary=").append(learnSalary);
        sb.append(", applyTime=").append(applyTime);
        sb.append(", createName=").append(createName);
        sb.append(", deleteLogo=").append(deleteLogo);
        sb.append("]");
        return sb.toString();
    }
}